class Women:
    """
    私有方法和属性的调用 在实际中不允许
    """

    def __init__(self, name):

        self.name = name
        self.__age = 18

    def __secret(self):
        print("%s 的年龄是 %d" % (self.name, self.__age))


lady = Women("丽丽")
print(lady._Women__age)
lady._Women__secret()
